// store/productStore.js
import {defineStore} from 'pinia';

export const useProductStore = defineStore({
    id: 'product',

    state: () => ({
        products: [
            {
                name: '小鹏XPENG x 拓意',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img0.baidu.com/it/u=1963315169,316137931&fm=253&fmt=auto&app=138&f=PNG?w=499&h=300',
            },
            {
                name: '小鹏XPENG x 拓意',
                description: '2024款P5指尖1:64',
                price: '￥79',
                imageUrl: 'https://img.pcauto.com.cn/images/ttauto/2023/07/05/7238782996235731494/0d9ab2e5b7c84a00addfc5b3a4df87dc~noop.image.png?x-expires=1691143689&x-signature=fNavSFHMgkxpZP9gD9TTXxuWQuM%3D',

            },
            {
                name: '小鹏XPENG x 拓意',
                description: 'G6指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=403021717,1623482798&fm=253&fmt=auto&app=120&f=JPEG?w=1634&h=800',
            },
            {
                name: '小鹏XPENG x 拓意',
                description: 'P7i指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img0.baidu.com/it/u=4114698132,447703871&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=364',
            },
            {
                name: '小鹏XPENG x 拓意',
                description: '2024款G9指尖车模:1:64',
                price: '￥79',
                imageUrl: 'https://img0.baidu.com/it/u=346058693,3171984659&fm=253&fmt=auto&app=120&f=JPEG?w=889&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },
            {
                name: ' 小鹏XPENG',
                description: 'X9指尖车模1:64',
                price: '￥79',
                imageUrl: 'https://img1.baidu.com/it/u=1991982498,3556737951&fm=253&fmt=auto&app=120&f=JPEG?w=750&h=500',
            },

        ]
    }),
    // actions: {
    //     setProduct(product) {
    //         this.product = product;
    //     }
    // }
});